django update increment

46

django update increment -

Entry.objects.filter(is_published=True).update(views=F('views')+1)

Comments

Submit
0 Comments